GRID

Description

This widget displays a grid for a graph corresponding to the associated parameter informations. It is typically used as a background for one or several CURVE_GRAPH objects.

Common Attributes

See attributes common to all parameter information widgets. Since this element references two parameters data (one for each axis), all attributes are prefixed by 'x_' and 'y_', for each axis.

Specific Attributes
Name Value Type Default Value Description Comment V.

color

color

current text color

Color of the grid lines.


1.3

pen_style

pen style

solid

Style of the pen used to draw the grid lines.


1.3

origin_color

color

current text color

Color of the origin lines of the grid.


1.3

origin_pen_style

pen style

solid

Style of the pen used to draw the lines of the grid origin.


1.3

subdiv_color

color

'color' attribute value

Color of the subdivision grid lines.


1.3

subdiv_pen_style

pen style

solid

Style of the pen used to draw the grid subdivision lines.


1.3

x_subdiv_count

Positive Integer

0

Number of subdivisions for the grid on the x axis

Number of lines between the grid lines defined by x_positions_count

1.3

y_subdiv_count

Positive Integer

0

Number of subdivisions for the grid on the y axis

Number of lines between the grid lines defined by y_positions_count

1.3

Examples
<?xml version="1.0" encoding="utf-8" ?>
<SKIN language_version="1.0" background_color="#000000" v_margin="10" h_margin="10">
   <GRID x_param_info_id="dsp.output_curve3.x_info" y_param_info_id="dsp.output_curve3.y_info" y_positions_count="5" x_positions_count="11" color="#888888"
      width="200" height="80" origin_color="#ffffff" />
</SKIN>
<?xml version="1.0" encoding="utf-8" ?>
<SKIN language_version="1.0" background_color="#000000" v_margin="10" h_margin="10">
   <GRID x_param_info_id="dsp.output_curve3.x_info" y_param_info_id="dsp.output_curve3.y_info"  y_positions_count="5" x_positions_count="11" color="#888888"
      width="200" height="80" origin_color="#ffffff" />
</SKIN>
<?xml version="1.0" encoding="utf-8" ?>
<SKIN language_version="1.0" background_color="#000000" v_margin="10" h_margin="10">
   <GRID x_param_info_id="dsp.output_curve3.x_info" y_param_info_id="dsp.output_curve3.y_info"  y_positions_count="5" x_positions_count="11" color="#888888"
      width="200" height="80" x_subdiv_count="1" y_subdiv_count="1" subdiv_color="#4444444" origin_color="#ffffff">
      <CURVE_GRAPH width="100%" height="100%" curve_id="dsp.output_curve3" color="#00ff00" />
   </GRID>
</SKIN>